package zb.service;

import org.springframework.stereotype.Service;
import zb.pojo.Order;

import java.util.List;

@Service
public interface OrderService {
    //根据用户id，获取此用户所有的订单信息
    public List<Order>getOrderByuser(Integer uid);
    //添加订单
    public Integer saveOrder(Order order);
    //删除订单
    public Integer delOrder(Integer id);
    //更新订单
    public Integer updateOrder(Order order);

}
